package cn.xiyun.xiyuncc.service;

import cn.xiyun.xiyuncc.dto.SmsCodeDto;
import cn.xiyun.xiyuncc.result.JSONResult;
import org.springframework.web.bind.annotation.RequestBody;

public interface IVerifycodeService {
    // 图像验证码
    String imageCode(String imageCodeKey);
    // 短信验证码
    JSONResult sendSmsCode( SmsCodeDto smsCodeDto) throws Exception ;

}
